package com.example.demo.service;

import com.example.demo.entity.Quanxian;
import com.example.demo.entity.QuanxianVo;
import com.example.demo.mapper.QuanMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuanImpl implements QuanService {
    @Autowired
    QuanMapper quanMapper;
    @Override
    public List<Quanxian> getpage5(QuanxianVo quanxianVo) {
        return quanMapper.getpage5(quanxianVo);
    }

    @Override
    public Integer getcount5(QuanxianVo quanxianVo) {
        return quanMapper.getcount5(quanxianVo);
    }

    @Override
    public Integer Bydelete5(Integer[] id) {
        return quanMapper.Bydelete5(id);
    }

    @Override
    public List<Quanxian> getquan(Quanxian quanxian) {
        return quanMapper.getquan(quanxian);
    }

    @Override
    public Integer insert5(Quanxian quanxian) {
        return quanMapper.insert5(quanxian);
    }


}
